added BOM to model-export, REF #599

added bom to the model-export, this as multibyte/special characters were
not output correctly.