Fix bug handling file names without dots in BaseFileLog.