Fix logfile names