@Override
  public synchronized void close() {
    open = false;
    fileSystemState.unregister(this);
  }
Secure directory stream implementation that uses a {@link FileSystemView} with the stream's
directory as its working directory.

@author Colin Decker
jimfs/src/main/java/com/google/common/jimfs/JimfsSecureDirectoryStream.java