Fixed not getting output about the config file after STDERR_FILENO was closed in daemonize()