fix PrintWriter target filie.