BUG: Fixed incomplete IO routines for PDFSegmenter