treebank/wsj: various fixes for compatibility
(with NLTK2 and Python 2.7)