Fix freemarker template encoding error in windows system.