because otherwise it would have broken compatibility with data files. (cherry picked from commit 75a27b6243b8cffa69f59c068dac61263574dc5b)
From https://github.com/dankogai/js-base64 (cherry picked from commit 7e5c36ed5b7fc67ba919973834e015ce92b5708b)