AMI_SLAB: Add mode to open() when extracting.

Spotted by: Stefan Reinauer <stepan@coresystems.de>
diff --git a/ami_slab.c b/ami_slab.c
index 6ed6e0e..b7c9780 100644
--- a/ami_slab.c
+++ b/ami_slab.c
@@ -106,7 +106,8 @@
                has_data ? "yes" : "no");
 
         if (has_data) {
-            int outfd = open(filename, O_WRONLY | O_CREAT | O_TRUNC);
+            int outfd = open(filename, O_WRONLY | O_CREAT | O_TRUNC,
+			     S_IRUSR | S_IWUSR);
             if (outfd != -1) {
                 if (write(outfd, datapointer, len) != len)
                     fprintf(stderr, "Can't write %s: %s\n", filename,