[py3k] Don't encode strings to bytes [applied]