Fix for #903, UTF8 issue

This fixes an error when having folders with UTF8 characters:
ERROR Fatal Error executing SELECT * FROM have WHERE Matched IS NULL AND LOCATION LIKE ? :: You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead just switch your application to Unicode strings.

See #903