store image without extension after determining retina request