fix(core): skip malformed UTF-8 resources

* Catching the exception to skip all non UTF-8 resources (configmaps, secrets).
* Adding a check to skip symbolic links which were processed twice

Fix #593
3 files changed