Some doctests for that would be great :)  (put them into doctstrings) 

The tricky part is that they'll depend on os.path.sep, but I'm not sure NLTK is currently testable under Windows, and there are no other doctests in nltk.data. I think it could be OK to just skip nltk.data doctests under Windows.