void finalizeFileHeader() throws IOException {
      out.write(sync); // write the sync bytes
      out.flush(); // flush header
    }
Write the final part of file header.
ql/src/java/org/apache/hadoop/hive/ql/io/RCFile.java