don't try to compute grainlog data if subscriptions aren't ready
only call shutdownWrite() if there is no expectedSize
Merge pull request #119 from dwrensha/streaming

only call shutdownWrite() when there is no expectedSize
Merge pull request #118 from dwrensha/grain-log-ready

don't try to compute grainlog data if subscriptions aren't ready