compare temp path and download path so it does not delete the file when it's equal.