Update pdu-writer.js