fix hosts file generation pattern