Fix file collector patterns in ComponentTemplates and ComponentFileTypes.