import/export module: minor bug fix in the template