See `streams/encode-bad-chunks.any.js`: * input of type undefined should be converted correctly to string * input of type null should be converted correctly to string