Fix up file encoding / line ending