scripts/digfort: better csv handling