Kill off some usages of sprintf.