Fix timezone comparison in DatetimeIndex._generate

This fix is just a band-aid-- a real fix will have to wait for PEP 431 to unite all the time zone implementations.

Also refine a bare `except:` in the same method.