Break bash helpers out into a few small files.