DirectoryResourceTest: gracefully handle symlink tests on Windows.