make load_module compatible with python 3.2