Fixed setting with byteAt

`byteAt` was pretty worthless for setting with; I wrote some failing doctests and then fixed it up.