Run sftp in in batch mode.

Normally, the return code of sftp is always 0, independent of failure
or success of the interactive commands. As a consequence put or get
errors in the ssh connection plugin are not detected right now if sftp
is used for file transport (which is the default). By switching to
batch mode the return code of sftp is nonzero if the put or get fails.