Ensure that all strings types are converted to np.string_ in HDF5 I/O, not just byte strings