Fixes #52

Turns out MimeTypeMap.getFileExtensionFromUrl() is a bit flakey as it can only handle certain chars. The implementation on the HTC was obviously even worse again.

Three cheers for native Android fragmentation
Merge pull request #53 from SpiderOak/issue52

Fixes #52