I think we should not push this without doing bulk writes... maybe we can add a util method to ByteArray? @jpountz?