move etc/host editing from early/ to lib