Improve `sh' task action error handling:

  Handle exit status code in Remote#execute.