Fix header extension in .cpp template file.