Make relative imports explicit

Reverts some Python 3 breakage from 0474f3f567c00ad1cdad1eeac14362fe365f0885