Use os.TempDir instead of '/tmp'