Expose TextDecoder and TextEncoder in workers