Would it be possible to create this without going via the intermediate MemoryBuffer?  It probably isn't very significant compared with the memory required by the deserialized tree.

(One possibility would be applyPropBin(path, callback-interface);

Would there be any other scope for avoiding the temporary in other circumstances?? Just a thought.