Fix bug creating directories with spaces
diff --git a/classes/export/generate1.php b/classes/export/generate1.php
index 8c6e6e7..4a1060d 100755
--- a/classes/export/generate1.php
+++ b/classes/export/generate1.php
@@ -152,7 +152,7 @@
 			 */
 			$fullpath =  $temporary_dir . $filename;
 			preg_match( "/^((.*)\/)?(.+?)$/", $fullpath, $matches );
-			exec( "mkdir -p " . $matches[1]);
+			exec( "mkdir -p \"" . $matches[1] . "\"");
 			/*
 			 * Start writing to the file
 			 */