lib/nconf.js: extracted from main.js.