changelog.sh: Add comments and error handling to `print_underscored()`