Fix renameTemplateFilesInNewProjectSpec by using async