XMLWriter changes: new parameter appends to filename