bug fix of mruby-io
add mruby-io's test