Log warnings for invalid URI encodings on assets

#2431