Added the RSYNC_PID environment variable for the pre-/post-xfer