Don't print colored text if stdout isn't a tty.