Handle file status/action correctly after disabling an update site

This is the big change to use the just-introduced API that is supposed
to help us when disabling an update site.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
TODOs

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>