Fix bug with response of image#insert_file method