encode resource['url'] as unicode when logging

if the resource url contains non ascii characters the datastore will fail with UnicodeValueError when attempting to write to the log