Ensure generated screenshot filename is saved

Save screenshot filename during temp_screenshot_file call