Provided a config hook to set the content type for the files ...

application/octet-stream only when everything else fails.