Avoid running lstat(2) on the same cache entry.