Fix handling of FileMode.createTrunc in ThreadedFileStream and fix spelling. Fixes #354.