mruby-ioの作り方 ref: http://qiita.com/akiray03/items/d6f29db921ff680bc699