Fix compatibility with plugins that execute fs#addSourceDir()
Remove unused files