Renames image file.