Make std.file.symlink safe
Merge pull request #2594 from tom-tan/safe-file-symlink

Make std.file.symlink safe