Keep around only source files that are modified by KiCad; other files can be re-generated.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/4763