Replace some calls to OutBuffer->printf with OutBuffer->writestring
Merge pull request #2450 from Numpsy/printf

Replace some calls to OutBuffer->printf with OutBuffer->writestring