@GuardedBy("this")
  private boolean isOpen() {
    return file != null;
  }
{@link OutputStream} for writing to a {@link RegularFile}.

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