Pkg.generate: cosmetic change.
Pkg.success: on Windows do `git update-index --really-refresh` first.

This hopefully will fix #4349 but may slow things down. Sigh.