cpp: model Timestamp: Use char_traits<> for end of file

This should correct the build failure @melissalinkert was experiencing.