Fix image.save for BMP.