[PATCH v2 3/8] doRemoteOpen(): Rename 'failed' label to 'error'