Fix: snprintf: use sizeof(X) as size + prevent off-by-ones
Being unnecessarily pesimistic snprintf target sizing may lead to
unwarranted memory consumption.
At that opportunity, also remove superfluous initial string
initialization/termination in two affected instances.