Move download callbacks to appropriate spots
Update the episode storage state on deletion

The file and DB handling is somewhat confused.
Sometimes, DB functions delete files, which they shouldn't; sometimes,
file persistence functions update the DB, sometimes they don't. This
needs some further refactoring.