Fix stack level too deep when writing to ChunkStream
Merge pull request #148 from bastjan/master

Fix stack level too deep when writing to ChunkStream