Change file extnesions to cpp/hpp.