Fix #2065. Remove extension from filename

for quick- and autosavegames.