A fix for IE (IE doesn't support overrideMimeType)