adopted Eric's latest fast binary info IO, and added unit test for it.