Bug 965270 - [mozversion] All unit tests fail on Windows because tempfile.mkstemp() keeps file open. r=ahal