fix output file parent directory creation. Fix slurmmgr output
fix output file parent directory creation. Fix slurmmgr output

jmetancelin/ipython-batch-scheduler-magic,jmetancelin/ipython-batch-scheduler-magic