Fixes mimetypes.