[PATCH 03/10] doRemoteOpen(): Rename 'failed' label to 'error'