write a file with the tree and outgroup, using the extension .tog