More Python 3 fixes
More Python 3 fixes


Former-commit-id: b2ec2abb4a3168660ee2c3f7d8318e6c05326773 [formerly 514259668172af094211815c4303b4018bc79db2]
Former-commit-id: 8ea067565e8bd644316afe6f8fe03ddbd9d70f8a
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine