Feature: Safe game saving

So, i lost my save, because the game has crashed during saving.
I don't know what reason of crash, but i don't want lose my saves.
Therefore, this code does saving safe as far as possible.