Fix str.split usage

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