Fix hard crash of Revit on Dynamo crash
Merge branch 'SaveAsCrash' into Revit2015SaveAsCrash
Merge pull request #3089 from pboyer/Revit2015SaveAsCrash

Cross-merge Revit hard crash fix