Use PrintWriter instead.: