logging resource['url'] with unicode characters

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