Fix bug DNN-4852: when minify file failed, we need output the original file so that functionality will not broken.