Search for the binary file for a function or extension inside the target directory.
If the binary file exists, it creates the zip archive and extracts its architecture by reading the binary.
If the zip file already exists, use it as the deployment archive.
If none of them exist, return an error.
Create a zip file from a function binary.
The binary inside the zip file is called bootstrap for function binaries.
The binary inside the zip file is called by its name, and put inside the extensions
directory, for extension binaries.