Refactoring the materializeRecords method out into a separate object.

This is so that we can invoke the method to materialized records, from (e.g.) an Indexer,
without having to create ParquetPartition objects first.