Fix handling of files with spaces (%20) in their URI.