The treeinfo module replaces maketreeinfo.py and currently provides a single function called write().