Creates a HDF5 string type of length length. Returns a negative value upon failure, otherwise a hid_t reference to the datatype.