[yafuse]: refactor code for subsystem command of 'ls'.