MAPREDUCE-2846. Fixed a race condition in writing the log index file that caused tasks to fail. (omalley)