Use mv + readlink when replacing system configuration files;
mv is (ideally) atomic while readlink makes sure that we follow
any links.
Support updating sysctls in /etc/sysctl.conf (when /etc/sysctl.d/ isn't
present).