Fix compat ClassAd function sPrintAd() for std::string.

Any text already in the string would be duplicated.
No reported problems, so no version history.