Use os.TempDir for windows

Special thanks @mattn