Send file via ofxOsc

I’m trying to send an xml file via ofxOsc, like this:

void hgOscManager::sendSettings() {
	ofxOscMessage message;
	fileBuffer = ofBufferFromFile("appSettings.xml", true);
	oscSender.sendMessage(message, false);

I do get a uint8array on the client which is a Node JavaScript app. I tried several methods of decoding the uint8array into a string with no luck mostly follwing

If I use the JS browser native TextDecoder I get this error:

Uncaught TypeError: Failed to execute ‘decode’ on ‘TextDecoder’: The provided value is not of type ‘(ArrayBuffer or ArrayBufferView)’

In the ofxOsc example, .sendMessage() second parameter is true. If I do it like this, nothing will be sent to the client. Is maybe there a culprit?