append missing semicolon to newick strings