Fix problems with overwriting test logs.