Refactor io.ascii code for 2/3 compatibility with six
Merge pull request #2028 from taldcroft/ascii/six-no-uni-lit

Refactor io.ascii to use six without unicode_literals