[jboss-jira] [JBoss JIRA] (WFLY-7618) Fix code to not use default platform dependant encoding