Fix hostfile output bug for sge