Fix loggin filenames