mgr_interp: fix use after free on error
mgr_interp: read only regular files

with no path specified it's nice to be able to just scan all
regular files within a dir and have the results written to
dirs therein