Using Notepad++ I am able to adjust the CSV in seconds. Both replacement actions can be saved in macros:
1. Adjust first line to deckstats standard
Search: (?-s)\A^.*$
Replace: card_name,set_name,Set name,collector_number,is_foil,amount,ManaBox ID,Scryfall ID,Purchase price,Misprint,Altered,condition,language,Purchase price currency
2. Adjust foil info
Search: (,normal,)|(,foil,)
Replace: (?1,0,)(?2,1,)