[COOK-3638] Do not use bashisms

Signed-off-by: Seth Vargo <sethvargo@gmail.com>
Version bump to v3.1.0
Version bump to v3.1.1