ensure diff formatters escape their output