Let multi-IM version output index tree with prefix

* The prefix is from %ename in cin file.
* Its length is limitted to 39 characters.
* Add multi-IM version of test/data/index_tree.dat to avoid test-config
  failure.