streams: make setDefaultEncoding() throw