Uploads the image with its correct extension

Allows mac2imgur uploading the screenshot with the same format, instead of always uploading it as png