daemon: if one of the standard fds is missing open it to /dev/null