romfs pruner: fix filename check