Modified integer->bytevector to handle negative number.
(Fixes issue 159)