Closed stream on UnsupportedEncodingException.