Extend tkaskdir to handle non-ASCII directories.