It looks like the extra headers acted like blank lines, so we did indeed have a user with username "changeme". The thing I think is very strange is that as soon as we unenrolled that user from each class it was enrolled in, and then deleted its record from mdl_user - the uploads started working again.
General help
problem using uploaduser.php
This discussion has been locked so you can no longer reply to it.