- default to /etc/netgroup if no input file is specified. - create a temporary file and rename that to the final destination, so the we don't get partially created netgroup files. Fixes PR bin/963.