Fix bug: rsync adapter raises fails under Ruby 1.8

This is caused by Open3.popen3 yielding only three arguments under Ruby 1.8.7,
instead of four arguments under Ruby 1.9