[CB-4656] Don't add newlines in data urls within readAsDataUrl.