fix DataChannel.sendInChunks() bug