TDataTable: prevent segfaults in load/save