Check if tmp png file exists before deleting. Fixes #104

Since this does seem to be an intermittent issue on 64-Bit Windows, I'm not sure how to write a reliable test for this.