Move mime type related methods into MimeTypes module