mod of dendropy encode_splits to treat internal taxa as typical bits