Tweak semver version rewriting.

Previously git describe = "v0.61.0-19-gabcdef1" would get written as
"v0.61.0+19-gabcdef1"; this rewrites them to "v0.61.0+19.git.abcdef1" so
the usual tokenization by "." is more useful.