process: throw on read of stdout or stderr

Currently, attempting to read `stdout` or `stderr` leads to somewhat ambiguous errors. This commit makes an attempted read fail in a more obvious fashion, similar to what is currently done with `destroy()`. Closes #8349.