[PATCH] Fix typos in XOR docstring and WITH-{INPUT-FROM,OUTPUT-TO}-FILE error messages