flush the hdf5 file in addition to the tables