Add trailing '\0' to strings.