In ecl_bind(), pull the "goto ret" from fail() out into a function of its own. This is so it's available for an upcoming commit.