ENH: use {en,de}codebytes or {en,de}codestring depending on Python version