canonicalize version name