Create dirs for mapred.cluster.local.dir

This is needed for legacy MRv1 when using a non-standard `mapred.local.dir` or `mapreduce.cluster.local.dir`

Thanks to @pkohan for doing this in his fork.