utils.diffStrings, addStringToOutput helper: Return the output no matter what.

The return value is used by some of the other diffing code, causing breakage when undefined is returned.
5.0.0-beta12