Dont attempt to encode hocr if hocr failed.