Write loglets to CSV