checking if issue is a byte string in python2