Updates slugify function to support unicode