git migration: Refactor the ASTERISK_FILE_VERSION macro