Refactor astropy.coordinates to use six instead of 2to3