Support for Python 2.7, Py2 doesn't support passing maxsplit as a kwarg.