Added `write-byte` primitive. Fixed compatibility with Shen 13.