Optimize fs.stat
Merge pull request #680 from Subash/patch-1

Optimize fs.stat