chunked or dechunk data, implement as plugin with c