Compilation fix: Updates cocos_files.json and removes unused files in template.