Added stringex and changed to use #to_url for create directory.

To don't receive error in url to accented characters.