  
    dfd = open(new_path, O_WRONLY | O_CREAT | O_EXCL, 0600);
 -  if (dfd < 0) PFATAL("Unable to create '%s'", new_path);
-+  if (dfd < 0) { return; } // PFATAL("Unable to create '%s'", new_path);
++  if (dfd < 0) { close(sfd); return; } // PFATAL("Unable to create '%s'", new_path);
  
    tmp = ck_alloc(64 * 1024);
  

 
     switch (opt) {
 
@@ -7293,6 +7448,22 @@
         out_dir = optarg;
         break;
 

       case 'M':
 
         force_deterministic = 1;
@@ -7470,7 +7583,7 @@
   setup_shm();
 
   setup_dirs_fds();
