Allow StdErrSplitter to conform to full $stderr interface

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.