fix output file format on image proxy