`tutor.pl` now flushes the output files each time a complete card is written.