"struct mrb_io_type" is not used at all.
remove unused constants.
function declarations should be in a header file.
file.c depends on mruby/ext/io.h now.
remove standard header files from io.h.