Fix structure hdf5 dumping to pass h4-test