Move BTree::write_tabbed_text() to TextUtil.