add confvar `file.mime.setdefaultype` and tests