may fix newlines and encoding;