Prefer _exec over _eval alternatives.

Eval'ing Ruby code is in general a risky practice. Starting in Ruby
1.8.7+, an alternative form of these methods has been provided which
only accepts a Ruby block. These tend to be safer as they do not
directly allow string interpolation as the `_eval` equivalents do.