MAPREDUCE-5968. Work directory is not deleted when downloadCacheObject throws IOException. (Zhihai Xu va kasha)