tweaking spreadsheet.py for Mac universal newlines/returns