Fix exec

This patch changes scp_transfer to use `system` or `%x[]` where appropriate, instead of `exec`. The reason is that `exec` takes over the thread and exits on success ([more info](
http://blog.jayfields.com/2006/06/ruby-kernel-system-exec-and-x.html)). See issue #1.