removed wrapping of PrintWriter because of encoding problems