Terminates string with '\0'