Use splitlines for Windows compatibility (works with byte strings)