Fix many many many python3 syntax errors

This is connected to https://twistedmatrix.com/trac/ticket/7183