* helm-files.el (helm-ff-sort-candidates): Handle some possible errors.