Fix encoding issue with source file, remove groovy script and do the defaultCodec transformation natively in ANT, hack lowercasing in XSL