Add support for fat Mach-O files
Fixes #1033. Note that this does not do the "correct" thing, of checking the main executable to see what architecture it is and trying to match that. Or maybe checking the architecture in the profile file if it is present.
Instead it just uses the host architecture to decide which subfile of the fat archive to open.