Fixes missing file extension on template file.