Added support in config for replica set keyFile option.