Tweaked plugin cleanup, so enabled plugin files are not mistakenly deleted.