[2914.1] Add `sftp_file` function and prefer it over `scp_file`