Fix returned data from MachO to be a string
Python3 fixes
Make macports_prefix honor symlinks
Move hooks into modules

Move hooks into modules to allow importlib.import_module() to import
them properly