<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def dt_to_filetime(dt):
 """Converts a datetime to Microsoft filetime format. If the object is time zone-naive, it is forced to UTC before conversion. '128930364000000000' '116444736000000000' '116444736000000000' 128930364000001000 """

    if (dt.tzinfo is None) or (dt.tzinfo.utcoffset(dt) is None):
        dt = dt.replace(tzinfo=utc)
    ft = EPOCH_AS_FILETIME + (timegm(dt.timetuple()) * HUNDREDS_OF_NANOSECONDS)
    return ft + (dt.microsecond * 10)