Fix StringAppend not correctly null terminating