Small refactor to Orchestra\Support\Str::streamGetContents()

Signed-off-by: crynobone <crynobone@gmail.com>