<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def SaveAvatarToFile(self, Filename, AvatarId=1):
 """Saves user avatar to a file. :Parameters: Filename : str Destination path. AvatarId : int Avatar Id. """

        s = 'USER %s AVATAR %s %s' % (self.Handle, AvatarId, path2unicode(Filename))
        self._Owner._DoCommand('GET %s' % s, s)