rg3/youtube-dl — pull request #802 by joeframbach (2013-04-24 22:01:43+00:00)
Title: If path and new_path are the same, then dont delete the file

Issue occurred when I download an mp3 from soundcloud with the `--audio-format mp3` option. It downloads foo.mp3, converts it to an mp3, then deletes the origin file, foo.mp3. That's dumb, so this will check if the infile and outfile are the same, if they are then don't delete it.