Mark std.file.attrIsDir, attrIsFile and attrIsSymlink as safe pure nogc
Merge pull request #2486 from tom-tan/safe-pure-nogc-attrIsDir-attrIsFile-attrIsSymlink

Mark std.file.attrIsDir, attrIsFile and attrIsSymlink as safe pure nogc