change from using sftp to scp for file transfer

previously the application used sftp with temporary file for the
transfer to target device. using scp allows for renaming of the
executable and does not require a temp file for commands.