Fixed error where local connection failed to copy because directory already exists.