* the history objects to store
* @throws IOException
*/
public static void saveToChangeLog(OutputStream outputStream, List<Changelist> changes) throws IOException {
OutputStreamWriter writer = new OutputStreamWriter(outputStream, Charset.forName("UTF-8"));
WriterOutputStream stream1 = new WriterOutputStream(writer);
PrintStream stream = new PrintStream(stream1);
stream.println("<?xml version='1.0' encoding='UTF-8'?>");
stream.println("<changelog>");
for (Changelist change : changes) {