Wrote an actual implementation for Patchwork\Preprocessor\Stream::stream_set_option