Add push uploads support.

* create a generic rsync util
* use the rsync util to sync uploads