Strip x- from mimetypes before type validation