[WO-652] use fallback if btoa is not accessible in worker