small fixes for downloading files + images (migration to TheBlob)