Fix exception
Accept upper case
Merge pull request #227 from dimagi/fix-user-upload

Fix user upload