Fix bug where Sumatra would crash if file was moved or deleted before printing