fixed readdir and stats for root directory
0.7.5