Fix chunk reading in node v0.11.x