Make the rsync threshold configurable

For connections where doing an rsync is significantly slower than doing 10 individual file transfers