Fix imports of “urllib” for Python 3, inspired using “2to3”