fix(contrib/util): use /usr/bin/env shebang for bash scripts

Changes utility scripts to use a more portable shebang line for `bash`. Thanks @manveru.

Replaces #2538.