Automatically format .bmp as .jpg