fix NPE
use encoding us-ascii for xslt exports to mm