Make sure the --batchLogsDir
exists if it is set
#4635
Merged
--batchLogsDir
exists if it is set
#4635