FromFile reads the build ID from a binary by opening the file,
but only reading the first 32 kB of the file.
It also treats Go binaries specially, reading the build ID from
designated sections.
ELF binaries store the build ID in a proper PT_NOTE section.