Fix log filenames.