Rename c to cpp

This patch renames the c files to cpp.