Bug 651949 - Don't crash on save in non-browse mode

Not getting a filename looks like a contract violation in Gtk+ to me.
Still Dia would be crashing, instead simply go back to the dialog.

(cherry picked from commit cfc6810939d8fce9e17b306f4c72b58427b98a70)