wrong size of filenames buffer
should not free buffer that is still accessed
should output debug info for child ireps; close #1575
Merge branch 'master' into iij