Use built-in os.TempDir() for Windows environment

Hi, I noticed gore fails to run on Windows.
It was caused by using "/tmp" as a fallback temporary directory (which is usually not available in Windows).
Using built-in function solves the problem in a shortest way.
Thank you.