Get the version of a binary in semver format