private void appendMetadata(final long maxSequenceId, final boolean majorCompaction)
      throws IOException {
      appendMetadata(maxSequenceId, majorCompaction, Collections.emptySet());
    }
Writes meta data. Call before {@link #close()} since its written as meta data to this file.
@param maxSequenceId   Maximum sequence id.
@param majorCompaction True if this file is product of a major compaction
@throws IOException problem writing to FS
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/StoreFileWriter.java