Fix memory leak in FileSystemStatCache.

Patch by Guochun Shi.