rhbz 960786 Check for null characters when generating TMX