Use portable os.TempDir() (thanks @josharian)