python helper for rsync mirroring