convenient output file with rucio commands is produced

Merged Ruggero Turra requested to merge turra/athena:script_download_rucio_generatePRW into 21.2

Very small change in the python script used to generate PRW files. The commands to download NTUP files from grid in addition to be shown on the screen as in present case, they are also saved in a .sh file which can be executed by the user. Presently the user has to copy-and-paste manually the commands which is tedious and error prone (for some reason in my case some dataset names are truncated when doing copy-and-paste on my terminal...)

Not sure: this should be cherry picker to everything >=21.2 and master.

Tagging @will

Merge request reports