[yafuse]: fix error of auto completion after tab key pressed.
[yafuse]: refactor code for IO interface.
[yafuse]: fix compiling error of libio.
[yafuse]: refactor code only.
[yafuse]: refactor code only.