Renames an image filename