Make gammapy Python 2/3 compatible without 2to3

There's pointers how to do that here: https://github.com/astropy/astropy/issues/2033