Create csv on the fly

Just tried and it seems fine. As long as >1 blocks aren't generated in a single mining toggle, it should be fine.