Fix open of OUTCAR in text mode.