Fix NSFileManager copyDirectoryAtURL method.