Implement dump_osx in terms of a more dump_and_open function.