fix oob in chunkstream implementation, fix incorrect copySourceStart in _buildChunk