Delay the creation of the tree until we have processed our first event
Delay the creation of the tree until we have processed our first event. This will not produce any tree when we reject all events.
It will fix an issue with merging of the files. Hadd only creates branches based on the first instance of the tree it encounters. If the first tree is empty then the resulting tree will also be empty.
/cc @akraszna