Attempt to use mime type that non insane way, with http://stackoverflow.com/a/2439038/48062