fix: encode exported csv whith encode(encoding, invalid: :replace, undef: :replace)