Text in hdf file  changed from type char to string