Extend HDF5 support to C-style strings in some places