btoa is already defined by src/shared/compatibility.js, which is unconditionally imported by src/shared/util.js.