Remove more usage of str method

Using str runs the risk of a UnicodeEncodeError
Update nltk