SplashBitmap::writeImgFile logic fixed since Poppler 0.20.1