Thank you very much for clarifying things up! I am glad I can stop using mdxbuilder and can start using something much more flexible and open source without worrying about errors down the line.
I will make extra care to not use BOM (perhaps it is worth opening an issue on github?).
Concerning the line endings, I am on linux already so it shouldn’t be a problem like it was when using mdxbuilder.