tempfile: remove deactivated list entries