Fix dstr len/capacity types