Fix set-host-hosts, so that localhost always point to 127.0.0.1

Signed-off-by: Bao Haojun <baohaojun@gmail.com>