Optimize fs stat