protocol_fetch() {
    printf "%s" "${1#base64://*}" | base64 -d > "$2"
}
