Catch errors during parsing and set empty .DATA/.FILES before re-raising.

Refs #1261.  Needs tests.