Fix to-byte-array handling of Integer and Long
Merge pull request #5 from kirankulkarni/master

Fix to-byte-array handling of Integer and Long