Dump corpus on editor quit