XMLDumper: Use autoflush for PrintWriter.