trac 29 eliminate snprintf again

Signed-off-by: Andy Green <andy.green@linaro.org>
trac 29 avoid syslog in echo test if win32

Signed-off-by: Andy Green <andy.green@linaro.org>