[SPARK-4792] Add error message when making local dir unsuccessfully

One thing to note is that `mkdir` returns `false` if the directory already existed, which shouldn't be an error (?). I'm not familiar enough with the code to know if this should ever be possible in normal operation. But maybe the defensive check here is fine.