Handle writing WR nodes to a file

I guess I had another case where that 4th operand was causing
trouble...