Fix off-by-one error in placing trailing \0.

1 file changed