Ensure that redirecting console output to a file prevents ANSI escape
sequences by default.