Switch writeInt8 from assignment to writeUInt8 to get bounds checking

This would have exposed #87 earlier and made tracking it done a lot easier.