Windows 8 compatibility: Split by \n instead of line.separator