Fix renameTemplateFilesInNewProject by using async