Close config file after reading
Moved CleanString from partnerconfig into util
Expand tilde in NSQ data_path