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