Fix output extensions for all templates I know the answer for.

Fixes #3