Dump the packages in the catalog in a requirements file

def write_packages(self, reqs_file):
        """
        Dump the packages in the catalog in a requirements file
        """
        write_file_lines(reqs_file, ('{}\n'.format(package) for package in self.packages))