Do manual copy of files in dist to overcome not being able to overwrite with copy tree.
Make paths more tolerant.