Fix a variable shadowing warning in saves.cpp