streams: make setDefaultEncoding() throw

This makes behavior consistent with `readable.setEncoding()`.