Implements method to save pmml file.