Fixed a bug where mv command tries to rename images to the same name,
      throwing errors in Stdout.