don't use uninitialized struct stat in win32

don't dereference the uninitialized struct stat on win32, doing so causes compiler warnings and makes debug builds get all crashy.