Don't crash when taking a unicode path.