fix for pull request 224 - makes sure that dtype='U1' is converted to
vlen string in createVariable (not character).
clean up previous commit
Merge pull request #238 from jswhit/master

addresses issue 237