HtmlImporter: Change file mode