Fix tmpdir path