Fix str.split usage

- See: http://bugs.python.org/issue8626