On FreeBSD, cores are by default named for the process that created them, e.g. "postgres.core". The current code does not find them.
-- Christian