[FIXED JENKINS-15587] NTFS symlink handling in build records

Handling NTFS symlinks introduced via Util.resolveSymlink.
Should fix [JENKINS-15587](https://issues.jenkins-ci.org/browse/JENKINS-15587).
Also probably culprit for [JENKINS-13972](https://issues.jenkins-ci.org/browse/JENKINS-13972).