HADOOP-1997. TestCheckpoint closes the edits file after writing to it, otherwise the rename of this file on Windows fails. (Konstantin Shvachko via dhruba) svn merge -c 582356 from trunk.