Report invalid stream given to chid_process.spawn stdio option

This should make error message in #4030 less confusing