Adapt MS-Windows build to import of filemode.c from gnulib.