private void saveGemfireVersion() {
    if (gfversion == null) {
      gfversion = KnownVersion.CURRENT;
    }
    writeGemfireVersion(gfversion);
  }
Write the specified DataSerializer to the file.
geode-core/src/main/java/org/apache/geode/internal/cache/DiskInitFile.java