vf_psnr/ssim: don't crash if stats_file is NULL.