Fix case where restore/flash image is not a .img

More universal:
Modem files are .bin for example
special_backup_handler could need an update if you backup such special files like modem...