fix trailing line break added to upload

fixes an issue where a line break is automatically added when uploading
Merge pull request #6 from adamjimenez/patch-6

fix trailing line break added to upload part1