Fix error when dumping new words
Stop corrupting the buffer file on quit