Create Image Dir if not present

Instead of throwing an error, create the image directory,
if not present.
The inotify code should create the image directory if not present,
not the upload or TFTP code. Removed creating the image directory from
the TFTP here and removed from the upload in another commit.

Change-Id: I8c142283cfd5a3c87bdf2291d2e79729ec9ac319
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/watch.cpp b/watch.cpp
index 9921bbd..c3aa7e9 100644
--- a/watch.cpp
+++ b/watch.cpp
@@ -29,10 +29,7 @@
     fs::path imgDirPath(IMG_UPLOAD_DIR);
     if (!fs::is_directory(imgDirPath))
     {
-        log<level::ERR>("ERROR No Image Dir",
-                        entry("IMAGEDIR=%s", IMG_UPLOAD_DIR));
-        throw std::runtime_error(
-            "No Image Dir, IMAGEDIR=" + std::string{IMG_UPLOAD_DIR});
+        fs::create_directories(imgDirPath);
     }
 
     fd = inotify_init1(IN_NONBLOCK);