Protect against weird mime types