Improve version_string.sh: add <refspec> argument