Fixed issue #60953
Altered phar_rename_archive() such that it will look for '.phar'
first, then '.tar' && '.zip' in data phar files before falling
back on finding anything after the first '.' in a file extension