[Filesystem] Fix tests on windows