update: fix bug in testmain::createHostDistFromFile