[node-styx] Fixed a stupid bug in Rwrite msg encoder