Made splitlines() method return string, not bytes