Use native save dialogs for OSX running 10.6 package on 10.8. Re #6497

This changes all uses of getSaveFileName to a custom handler that we
already had so that we can switch to Qt dialogs where necessary.