Striped the last linefeed in the resolver file

In CentOS 6.4, the interface gethostbyname can't parse the
nameserver string with extra linefeed.
Merge pull request #400 from yaoweibin/fix_resolver_linefeed

Striped the last linefeed in the resolver file