Refactor HiveRecordSet to make it easier to extend with new file formats