Version substitution cleanups in 10 Casks

Principally replacing `version.gsub` with `version.sub` when that is what is meant.