Make rubocop survive exceptions from Parser.

Handle similarly to how exceptions from cops are handled.