fix bug(imlib_save_error sometimes fails in highly-loaded) refs #8

cause -> The return value of imlib_set_image_format is null when jpeghint is 'y'.