Windows apparently doesn't have unsetenv() at all, so use the WinAPI native envar functions instead of the usual C ones.
I planned to put just the file system routines into these files, but there are starting to be so many of them that I don't want to duplicate the same set for networking, subprocesses etc.