I suspect that (a) the file in question ends with a carriage return byte and (b) you're using Python 3 to do the upload. Could you confirm or deny these two things?
I suspect that (a) the file in question ends with a carriage return byte and (b) you're using Python 3 to do the upload. Could you confirm or deny these two things?