private void close() {
      if (!closed) {
        closed = true;
        try {
          puffinWriter.close();
        } catch (IOException e) {
          throw new UncheckedIOException(e);
        }
      }
    }
Util class for write and read Iceberg statistics file {@link StatisticsFile}.
amoro-format-iceberg/src/main/java/org/apache/amoro/utils/StatisticsFileUtil.java