fix python3-incompatible reference to basestring
Merge pull request #26 from uber/bug/py3_string_fix

fix python3-incompatible reference to basestring