Fixing mime sniffer