Attachment upload fix (@filename syntax deprecated error).