Don't use stat() on Windows, use a Unicode-safe Windows function instead that will also give us higher-precision modification times