catch unicode error listing profiles

there can be garbage files on the filesystem, and we shouldn't be bothered by them.
Merge pull request #4264 from minrk/unicode-list-profiles

catch unicode error listing profiles