Fix logfile names on memory leaks tests.