Catch errors on file search

Previously recursive links of other advanced file structures could kill
the ability to find files. This doesn't help with that, it just keeps it
from crashing the program.