Uses TEMP from env as temp directory

On Windows, %TEMP% points to the temporary directory (usually
%HOMEPATH%\AppData\Local\Temp).
Merge pull request #14 from remram44/windows

Windows compatibility: uses TEMP from env