ensure that exstr is always null terminated, even if not necessary.