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

New pull request based on latest version of QIIME codebase.
Can you use a context manager with `mothur_tax_file` so that it is explicitly closed/deleted instead of relying on the garbage collector?