Improved relative path handling in FileLogListener