[img_utils] add attach_file to POST file