Windows apparently has _snprintf.