<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def fixup_version(destination, version):
 """Newer releases of the SDK do not have the version number set correctly in the VERSION file. Fix it up."""

    version_path = os.path.join(
        destination, 'google_appengine', 'VERSION')

    with open(version_path, 'r') as f:
        version_data = f.read()

    version_data = version_data.replace(
        'release: "0.0.0"',
        'release: "{}"'.format('.'.join(str(x) for x in version)))

    with open(version_path, 'w') as f:
        f.write(version_data)