Remove redundant null checks for arguments to sftp_{get,put}_file