Refactor reading of BlobDataRecords
Fix use of deprecated exceptions