src/rrd_daemon.c: Implement PID-file and basedir options.