[cmaes] Close resume file in resume_dist.
Merge branch 'cmaes-restart' of https://github.com/chrisdembia/simbody into cmaes-restart