Bug 1078026 Clean up XPCOM string usage r=sworkman