Allow benign PNG errors
Otherwise we can end up not writing anything due to recoverable libpng error reports.