bug: ensure we resolve deferred when decompression is disabled.
tidying: ensure we don't log 'Download undefineddone.'