lib/argparse: argparse_die()
generate_script:sh: write output file directly

The --output,-O arg allows to write the generated script to a file instead
of stdout. The --chmod and --verify switches can be used to process the
created file further.
make_scripts: use new generate_script.sh features