Fix image download for unmanaged files