1.2.2 fix for temp file paths on windows