support kicad exporting both to a .pretty directory and to a .kicad_mod file