mruby-ioのつくりかた ref: http://qiita.com/akiray03/items/d6f29db921ff680bc699