Fix bip32 encoding error when private key starts with zeroes.

Reviewers: ben

Differential Revision: http://phabricator.bitgo.com/D148