Adjust the implementation of Directory.getContents to also return an array of FileSystemStats objects for each of the returned directory contents.