Improve writing of PMML files (schema and scoredistribution)