Update to xsnprintf.c to fix issue #2