Modified set-versions to work with the version files as well.