-Fix: compare against six.string_types.

six.text_type can throw errors if the result is an empty string in
python 2.7, where six.string_types will correctly detect it.
Merge pull request #464 from Xaroth/fix-assert-six

-Fix: compare against six.string_types.