fix PrintDir bug
update
update formatdirindex
Merge pull request #27 from shenyan1/formatdir

Formatdir