write()
Write a list of phenopackets to a file :param phenopackets: List of phenopackets :param output_path: the path to write the phenopackets to