Add extension to image uploads