qa: Restore bitcoin-util-test py2 compatibility