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

New pull request based on latest version of QIIME codebase.
Thanks, didn't realize the buffer was flushed with seek. I don't think we have any conventions on this, fine to leave as-is.