Improved OFile::rewind for checkpointing

Now upon rewind file is moved on a backup name (bck.last.xxx).
This is to have a recover file in case of crashing while checkpointing