Fixed reading of HDF5 strings returned with dtype 'object'

For some reason, string datasets are sometimes returned from h5py with
dtype ‘object’, even though the returned value is just a string. Now,
object dtypes are explicitly converted to string types.