<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def download_file(url, suffix=''):
 """Download attached file as temporary file. Parameters url : string SCO-API download Url suffix : string, optional If suffix is specified, the name of the downloaded file will end with that suffix, otherwise there will be no suffix. Returns ------- string, string Path to downloaded file and file suffix """

    r = urllib2.urlopen(url)
    # Save attached file in temp file and return path to temp file
    fd, f_path = tempfile.mkstemp(suffix=suffix)
    os.write(fd, r.read())
    os.close(fd)
    return f_path, suffix