Support operating with metadata in ignore_errors block

Bugfix build for ruby 1.8.

Fixes #90