Use generic string for __FILENAME__.
__FILENAME__
Will hopefully a bit more consistent across platforms. Obviously proper conversion to UTF-8 would be better.