Optimize codes

1. using system_call (pread) instead of library_call (fread).
2. Add Stat class for counting.

TODO:
When we send SIGINT(Ctrl+C) to redis_aof_deliver process, let it normal exit.