Fixes #1025, spaces in id-to-taxonomy file break assignment with Mothur.

New pull request based on latest version of QIIME codebase.
Sidestepping this problem, now writing directly to the filepath stored in self.params.  This is shorter and cleaner.