URI encode image file names.