Bug fixes and other minor enhancements

Corrected identation error
Changed implementation of downloadFile to use urlopen in combination
with shutil.copyfileobj to avoid potential memory issues with large
fsimage files.