ansi escape filter for output capture

Strip out ANSI escapes because they look like crap in markdown. Basically this just strips out colors, which seems ok.