nix-log2xml: Handle newlines