[Carlos,Argha] making upload_to_chefserver generic