[Pki-devel] Replace legacy Python base64 invocations