pkgfilelist_gen.lua improvement