fix qr_save bug: pass empty filename to ouput image directly.