Modified Filesystem::readdir to return vector of Dirent structures