Fix IO.ANSI doctests