Batched writes to the log

We should maybe set this lower. Flash can make a write durable in 0.1 ms.