Resolve symlinks in copyPreserveSync.