Add fail function to bash scripts generated by newscript
Add fail function to bash scripts generated by newscript

Adds `fail` function to generated shell scripts that writes a message
to stderr and then exits non-zero.

I got tired of adding `fail` by hand, made it a default

unixorn/jpb.zshplugin,unixorn/jpb.zshplugin,unixorn/jpb.zshplugin,unixorn/jpb.zshplugin