Fix failure with HHVM in StreamHandlerTest::testAddsErrorToResponse().