Fix for parsing files with line breaks that differ from the host FileSystem

When working with files that have been downloaded to a machine, there is no guarantee that the line breaks actually match the host OS line breaks. This should allow consistent parsing regardless of the original source of the file.