Windows doesn't do flockfile, so don't lock stderr for logging.
Log the current working directory at startup

This makes it easier to debug issues with SCMPATH.