Unicode compatibility

I've been having some annoying trouble with Unicode strings getting combined with non-Unicode strings. Additionally, imports with Unicode characters started showing the same troubles.

I'm not sure if this fixes all cases, but it seems to work fine for me, with either Unicode in the main input string, or Unicode in any @imported files.