Updated so local minify uses correct mimetype