Revert "[util] move shell_helpers.sh from inline to file"

This reverts commit 6561dc06ea271d9c9ecd085c855fdd3b07b6a67f.