fix(chunkstream): max call stack thrown when parsing large pngs

This is the solution I found for the maximum call stack error that is occuring. This didn't seem to affect anything else. Let me know if this causes any other problems.