Catch backtick expansion errors and echo proper error.

Instead of the nested function error, issue a proper error message, keep the improper expansion verbatim in the snippet, and continue evaluating.