subsystem: Buffer.write* ops now return buffer ref

Added `return this;` to the bottom of all write methods.