code: public void dump() throws IOException {
      FileWriter out = new FileWriter(outFile, true);
      try {
        dump(out);
      } finally {
        out.close();
      }
    }
docs: TODO: this is temporary, all metrics should get into Hadoop Metrics-like thing