Fix returning a localised string instead of a MIME type, resulting in the localised string being used for the MIME type override, resulting in it failing. Thanks Eleriseth.
Finally fix "bad MIME type" (breaking FLIP) when mime type is "".