I found a unit that uses FileName as part of a record type, so I changed that instance, then compiled, but got the same error message.
I don't use either GetModuleByAddr or UnixGetModuleByAddrHook. This file exeinfo.pp is getting called from some other include or unit. I have not found what unit is calling exeinfo.pp. I tried using the switch -va to get everything, but still couldn't find it.