Fix copyTemplateFilesIntoNewProjectSpec by using async