fix for pull request 224 - makes sure that dtype='U1' is converted to
vlen string in createVariable (not character).