preserve permissions when editing hosts file.