Python 3 compatibility in test_multi_chunk_file