Make std.file.DirEntry._ensureStatDone safe
Merge pull request #2601 from tom-tan/safe-file-DirEntry-_ensureStatDone

Make std.file.DirEntry._ensureStatDone safe