fix(minify) check is tmpdir exists