Check __WIN32__ in string_format, too.

Also increase the buffer size to make vsnprint succeed more likely.