new binary IO interfaces for 0.10.x 

'had some fun with git rebase.
ready for code review and merge.
Oh haha, OK. Apologies for attributing it to you! I guess we should just remove it then.