mdfind errors handling