colorize a stream with ansi colors