More readable diagnostic for JENKINS-8856

This makes the [JENKINS-8856](https://issues.jenkins-ci.org/browse/JENKINS-8856) diagnostic more readable by collapsing sequences of ASCII text chars into a single quote-delimited string, and honoring ASCII line breaks (while still explicitly printing them as '0x0a').