Handle creating output directory if directory does not exist

Previously the app would crash if DCIM/Camera did not exist on the SDCard

Handle this gracefully by creating the directories if they do not exist