Normalize version numbers to strings in winrepo

This fixes #5682.