For both nodes and relationships, we first write the data file and to derive the property types from their runtime
types. We will write columns for all declared properties, because we only know which ones are actually in use
after traversing all elements.