Removed unnecessary BufferedWriter/BufferedOutputStream as described in GROOVY-6314 issue

See here 

https://jira.codehaus.org/browse/GROOVY-6377