one: First attempt at a sprintf wrapper

Add a simple sprintf wrapper to one to allow inherited status
to work and to correctly report when the formatted string did not
fit into the buffer.