Fix existing directory problem with copytree.