Added stdout and stderr redirection to kv[log] for kv.daemonize