Fix #283 - Refactor rsync to only use absolute paths

Just inline all of `init.js` into this file, and expose them on the module, then get rid of `init.js`.