Append a image file extension to file type