Fixes for file system on windows.