swaroop: take ownership of config file if we're run as root.