void setFlags(int fileId,
                @PersistentFS.Attributes int flags) {
    try {
      checkNotClosed();
      if (connection.getRecords().setFlags(fileId, flags)) {
        connection.markDirty();
      }
    }
    catch (IOException e) {
      throw handleError(e);
    }
  }
void setFlags(int fileId,
                @PersistentFS.Attributes int flags)