Added cleaning of plugins metadata file after exporting