Make sure all data is sent to API to be able to select correct archive version.
Fixes #15500. Does a simple filename check if the binary names ends with _linux_amd64 or _darwin_amd64 then sets the file mode to 755.