Add str() in dtype to work around pre-unicode numpy/python2