Use exec to make sure hosts.exclude exists rather than managing file resource

Change-Id: I72165daf359e877f8353726e2b8de9686ae0ef68