The codebase that is now Lucy has not built under Cygwin for several
years, and there is a lot of directory and path handling code which
needs to be cleaned up. The general theme is that we should prefer
POSIX interfaces whenever possible instead of the Windows API.