WIP: Replace POSIX directory wrappers with FileSystem::GetEntries.