use rsync instead of cp, since clashes on directory creation can cause failures.