Add #to_io and #reopen methods to `StdErrSplitter`

These changes are required to support capturing the `$stderr` stream in a tempfile rather than a `StringIO`. See https://github.com/rspec/rspec-expectations/pull/700 for the rationale.
:+1: I'll give that a try