Add mime type to raw source view
Hacky fix for #332