update save commands to support %n (replaced by data names)

- new _get_filename()
- update save_figure(), save_ultimate_values(), save_fits()