Bug 13937: (RM follow-up) Set working directory for daemon mode.