Don't use ANSI colors when the output FD is not a tty.

refs #6702