Name log files more robustly.