This commit fixes the handling of POSIX permissions on Windows in the spawner tests. Since POSIX permissions do not exist there, we first have to check if we are on a filesystem that supports POSIX or not before attempting to set the permissions.