Fixed umlauts problem - Changed PrintWriter to PrintStream