Fixed incorrect location for undo file.