Make missing directories inside the copy command.