edx_dl: Use relative imports of compat to fix Python3.