I believe the problem is on line 398 of the meica.py script.
Original line:
intsname= '%s%s' % (indata,isf)
I was able to get the code to run without issue if I made a local copy of the script and changed the line to:
intsname = '%s%s' % (dsprefix(indata),isf)