Write a tree root header when new tree is created