Fix searching for files in a list of directories.
Fix searching for files in a list of directories.

Using the same variable name was causing it to change each time through
the loop.

openxc/openxc-python,openxc/openxc-python,openxc/openxc-python