Make std.file.isFile, isSymlink and their unittests safe
Fix trustedSymlink to use toStringz
Fix argument for isSymlink, and fix unittest for it
Merge pull request #2520 from tom-tan/safe-file-isFile-isSymlink

Make std.file.isFile, isSymlink and their unittests safe