Changed basestring in datatypes.py to six.string_types[0] for Python 3 compatibility