0.9.1: Fix python3 compatibility issue found by Mte90