Normalize version numbers to strings in winrepo

This fixes #5682.
Merge pull request #5683 from terminalmage/issue5682

Normalize version numbers to strings in winrepo