Add support for Windows data deduplication.
On Windows machines with enabled data deduplication files duplicates will be recognized as symlinks and and therefore install fails with "file COPY cannot read symlink".
Similar issues can be found here: https://github.com/Microsoft/vcpkg/issues/2488 https://github.com/puppetlabs/puppet/pull/6513
From the later fix this commit is mainly influenced.