Sorry, I can’t help with this, plus I don’t have a Fuji camera, but was interested in this as a theoretical problem. I know that Brian Griffith (Iridient X-Transformer) managed to do so because the linear DNG’s his X-Transformer produces can be used in darktable or RawTherapee and give better results in this respect.