Correctly strip ansi codes on windows without colorama.
Merge branch '2.x-maintenance'