Get the version string from a package file.