streams: make setDefaultEncoding() throw

This makes behavior consistent with `readable.setEncoding()`.
Should be `TypeError`.