Simplify dump/load

There have three kind of patches.

* Removed mrb_malloc calls preparing temporary buffer.
  We can mruby C API and they are allocate memory if they require.
* Modified the type of line-numbers to uint16_t.
* Some cosmetic changes.

 See also the commit log.