Fix to address the following two issues.

1. It’s downloading the image file every time even when the same image already exist on the bootflash. The expectation is that it should not download the file if image is already present.
2.  It’s renaming the NX-OS file to a generic file called system.img, it shouldn’t do this, it should keep the name of the file as it was on FTP server.