Rename templates to their respective format extensions (mostly HTML).

For sanity. Will merge once tests pass.