mime-type file tweaks