[version_checker.py] Escape format strings in regexes