unixify linksync.py; add shebang to top
expanduser some stuff
Refactor calls to subprocess.check_call