Handle weird extensions on overrides. fixes #813.

i've never seen the `formats:` option used, and I can't find it documented anywhere. Where did you find it?