MAINT: renamed format_hdf5 to to_hdf5