'This is an equivalent of listdir that, instead of returning file names,
returns a list of stats instead.'

def listdir_stats(self, path):

    listdir_files = self.listdir(path)
    paths = [posixpath.join(path, f) for f in listdir_files]
    return [self.stats(path) for path in paths]
