Fix MIME double prefixing