Fix textmode/binmode handling in IO character conversion.
Cleanup.
Remove passing excludes for test_io and test_io_m17n.