importer: Fix double free of the bytestream handler.

This regression is introduced at acd938a .