Fixes to fdist so the demo works.

Fixes to fdist so the demo works. cf https://github.com/nltk/nltk/pull/544