Fixed splitlines() on py27