Remove subshell usage in upload-binaries script