Allow opendir() in send_directory() to fail with ENOENT.