fix reading binary files under python 2.7 (tests coming)
add script for generating test data and new copies of reference data
add read tests for binary data