Fix file system tests on Windows
The tests for EphemeralFile
and EphemeralDirectory
tried to set specific PosixPermissions
on the created files/directories. However, this is not supported on Windows, leading to the tests failing.
The tests now run only when on a POSIX-compatible filesystem.