tempdir.c: Change / to \ on Windows