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

After reading more details, i found this function is used by reading and writing.
With writing, when the dir exists, I think it is ok to write files, it should not be an error.
With reading, the dirs should be existing with shuffle datas and others, so when the old doesn't exist, it should throw an exception.