I appreciate that you took the effort but we have a snprintf() function on Windows, it's in src/node_internals.h (which gets auto-included.)