Add delayed write option and check file size every 100 writes