map mime type to file extension