PEP8 stuff and Python3 str/bytes issue