Respect the `pos` parameter in WriteBuffer::replaceRawData
Respect the `pos` parameter in WriteBuffer::replaceRawData

This omission didn't actually break anything, because `pos` is always
0.

rprichard/winpty,rprichard/winpty,rprichard/winpty,rprichard/winpty