Cleanup stdio related.

These patches are not bug fixes but prepares for the enhancement. The goal is stdio free mruby.