Added SyncConnector to GetBytesFromStream, as an argument for getting the
Connector context.