not in use yet, but wrote a function to get header details for binaries

would be annoying to re-download everything, so may end up using this in
a batch task, but in theory this should run on its own, and be saved as
a separate file-headers.json or something, and cached alongside the rest,
to be used in determine file type and extension for the downloaded
binary file.