Fixing issue with log file cleanup in the hdfs KV store.