upgrade avalon
Fix generic_attachments uploadfile bug