Handle cases where the contig order in the header and the data sections differ. This was previously impossible, but apparently not now. Thanks to https://github.com/VonAlphaBisZulu for indicating the root cause and suggesting a fix. This also brings in other unrelated updates from libBigWig, which are mostly not relevant for this python wrapper.