Convert sync-dir and sync-file to python

Also adds the ability to specify multiple rsync `--include` paths to
sync-common.

Bug: 59225
Change-Id: I5ab7b2fba2f68d3d9219947ef8ab8ac6d0160d8e