Add several Path functions. Rename Flags to FileSystemFlags. Introduce DirectoryEntry.getFile().