Add support for a --background mode to daemonize.