Set opened filename as default filename.

Use the opened filename as default filename when saving waypoints or parameters.