Fix int2byte conversion

Use new builtin on python3.
Add the needed zero on python2.
Fixes #11