Corrects writeUint8 lowercase typo

`writeUint8` fails on my macbook with node 0.10.12.  Changing the case to `writeUInt8` seems to correct the problem.