The file is opened in text mode, so it should do universal newline handling.