Kill off some usages of sprintf.
Merge pull request #6535 from thedax/no-sprintf

Kill off some usages of sprintf.