Fast getFiles implementation for UnixFilesystem.