sync.py updated

Using link command to make it functional with python 3.4.
sync.py updated.

The synchronization tool seems to work fine in Windows too.