fix(hosts-addon): change sed invocation to work on OS X

The sed installed on OS X is a BSD sed instead of a Gnu sed, and as such the
options are different. The -i option should be available in both seds and do
the same thing.

Could someone check if this works on OS X as well (`sed -i''  ...` as opposed to `sed -i '' ...`)?