Save the replay metadata block when quitting.
Merge pull request #5426 from pchote/replayfix

Save the replay metadata block when quitting.