Kat Editor
I don't know why it happens, it seems to be off and on again issue when saving, although I've never had an issue myself. The best you can do is make periodic backups of your project so if it does get corrupted you won't be at a complete loss.