Use transform streams to handle ansi and html classes