Removes an '.encode(utf8)' that was causing errors in Python 3