File open missing rb in test_all_sample_data.py