need to output name index as an hfile too for now

(needs a scanner, mapfiles don't support giving you a scanner, just an object local position. the reader is the scann.er not good for concurrency)