io_ext: remove spurious access to global 'prog' variable.

* src/io_ext.lua (processFiles): The supplied function receives
a copy of each file name, so no need to make assumptions about
global variables in here.