Close hypergraph output files.