Handle error in md5 calculation

Catch error thrown by MD5 Calculator when it doesn't recognize the format (which in its mind can only be `apk` or `ipa`).

Fixes issue #2702