clearCache was not removing file cache for plugins

for #290