fix py3 bytes-vs-str problems