[cleanup] Replace deprecated upload_image() by upload_file()
[cleanup] Replace deprecated upload_image() by upload_file()

- Replace deprecated UploadRobot.upload_image() by upload_file()
  in flickrripper.py
- remove deprecated debug parameter in flickrripper.py

detached from Ic96541f

Change-Id: I8eba2496073907aedee8eb9379a840233ab55956

wikimedia/pywikibot-core,wikimedia/pywikibot-core