More sprintf clean up

Moving to io_string_write some more.