Hotfix for trying to save previous file that doesn't exist during a file transition.