I have TERM=dumb set in my environment. pprof should not be printing ANSI escape codes:
$ go tool pprof x.prof
�[0;31mMain binary filename not available.
�[0mType: alloc_space
Time: Jul 6, 2018 at 4:00pm (EDT)
Entering interactive mode (type "help" for commands, "o" for options)