disable universal newline for windows.
add nil check for failing first File#open.