Added create dir util
Plot wont crash on missing output dir