clang-tidy: rename mako file extesnsion

Renamed mako.cpp to cpp.mako to prevent clang-tidy from running
checks on this file. Also updated build scripts to accommodate
the new file extension.

Change-Id: I2ad35ec653cb3ebf684ddd0ba697a966fe7ed540
Signed-off-by: Jayanth Othayoth <ojayanth@gmail.com>
diff --git a/scripts/sensor_gen.py b/scripts/sensor_gen.py
index f121c94..5da5909 100755
--- a/scripts/sensor_gen.py
+++ b/scripts/sensor_gen.py
@@ -16,7 +16,7 @@
 
         # Render the mako template
 
-        t = Template(filename=os.path.join(script_dir, "writesensor.mako.cpp"))
+        t = Template(filename=os.path.join(script_dir, "writesensor.cpp.mako"))
 
         output_cpp = os.path.join(output_dir, "sensor-gen.cpp")
         with open(output_cpp, "w") as fd: