fix excel export to use csv writer. why didn't i do this the first time round.