Currently data directory is created when new stream is added but if data directory is deleted then it causes event processing to fail.
failed to process event because io error: No such file or directory (os error 2)
Possible fixes:
- Check and create data directory and all the subfolder for each stream on startup.
- Check and create when an event is handled