Restore stream_open() params to match streamWrapper