We should not hard code the `tmp` directory. It seems that c:/tmp/ is not a Windows-maintained temporary folder.
http://en.wikipedia.org/wiki/Temporary_folder
This is behavior was already wrong before your change. How much work would it be for you to fix that?