wadindex.pl: first try at printing WAD directory entries