TEZ-1415. Merge various Util classes in Tez (Alexander Pivovarov via bikas)