Directory

This:

-fixes two bugs in FileEntry read and write
-adds a DirectoryEntry.getEntries() call
-adds some file system tests