Implement the clarified spec of FileSystemImpl.readdir and Directory.getContents suggested by @gruehle