Allow custom hosts file location

System property "persist.net.hosts" defines the location for the system
hosts file.  If not set, or if the specified file cannot be opened, fall
back to the usual "/system/etc/hosts".

Change-Id: Ibc1aba30fbad269b9fade568f0059c3fb0d6b81b