Add io_stat.cc to calculate read/write numbers.