Fix System.tmpdir for windows