medialibrary: Force quoting URIs right before computing the thumbnail hash

This prevents a case where the URI provided by GES in a project file
would not match what the f.d.o. thumbnail spec requires.