Report the cfg filename in all cfg related errors.

Fixes #299.