Adding method to serialize resulting trees to any tree format supported by BioPython.