new binary IO interfaces for 0.10.x 

'had some fun with git rebase.
ready for code review and merge.
It'd be good to remove commented code. :-)