Fixed MIME type conversion