Close GH-679: Prevent renaming of bower.json/component.json to index.json, fixes #674..