fixed a problem with rsync buffering the debug output when redirected