Corrected so that 'scrambled' fits files are handled correctly during download.