Fixing rsync to not cwd into the source

The real solution is to append / to the source if it's a directory.
This has been done in the index.js but probably should move into rsync
module.