log_pprint sometimes gives us back unicode in Python 2