fix to problems with uploading files
Merge pull request #358 from edx/fix/adam/file-upload

fix to problems with uploading files