prevent unhandled exception when upload file has no extension
Merge pull request #95 from zanata/stop-no-extension-npe

Prevent unhandled exception when upload file has no extension