Fix find_globals to handle Python 2->3 module renamings

Stdlib's _compat_pickle is a big help here, but I've an uneasy feeling
it's not supposed to be a public API.