Fix favicons being deleted by cron

From #6507.