Change from hard-coded temp directory to using os.TempDir()