null terminate cstrings in DATUM_TO_CSTRING