[plugins] Removing the plugin output directories when certain plugin output is deleted from the db using interface