013 marshalbinary

Fix bugs in binary marshal/unmarshal code and tests.
Hmm, I just noticed this. Why is this imported?