Set mime type *type*
Prefer mime_type_for_extname lookup