Fix single file upload.
Merge pull request #5 from frgtn/fix_single_file_upload

Fix single file upload.