using os.tmpdir() instead of tmp/