Fix a couple more issues with attachments with bogus mimetypes.

Review Request #7048 — Created March 12, 2015 and submitted — Latest diff uploaded

Information

Review Board
release-2.0.x
78421f1...

Reviewers

This fixes up a couple more crashes that happen when browsers and the 'file'
command give us a bogus mimetype.

Attached the given outlook .msg file in the bug and saw that everything worked
correctly.