don't create unwritable files on Windows
They break the test suite, for one, and I haven't checked whether Git does so on that platform.