Ensure system-err and system-out contents are properly escaped.