#50: listdir now uses self.fnmatch for matching paths when a pattern is supplied.