Write out a Python datetime.datetime object as a 64-bit integer
        representing seconds since the Unix epoch.

def write_timestamp(self, v):
        """Write out a Python datetime.datetime object as a 64-bit integer
        representing seconds since the Unix epoch."""
        self.out.write(pack('>Q', long_t(calendar.timegm(v.utctimetuple()))))