bs-raw-files-generator.js: use the global directive to define the `btoa` variable.