Fix the importer upload. Fixes #1312.