do not write out .png files that are not finished, but write to .tmp and then rename