GRAILS-11663 encoding not passed to InputStreamReader in GrailsIOUtils.copy