Fix compatability with python2
Fix compatability with python2

instanceof with str breaks py2/3 compatability so need to usse instance of with six.string_types @lekono

pybel/pybel,pybel/pybel,pybel/pybel