some changes to mruby-sprintf